package com.chinaoct.siku.gzw.services;

import com.chinaoct.siku.LocalStorage.dao.StorageDTO;
import com.chinaoct.siku.gzw.dao.ShangbaoDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface ShangbaoService {

    void save(ShangbaoDTO shangbaoDTO);

    void delete(Long id);

    Page<ShangbaoDTO> pageShangbao(Pageable pageable);

    ShangbaoDTO findByID(Long id);

    boolean uploadFile(StorageDTO storageDTO, String date, Integer enableFile) throws Exception;
}
